package com.vip.seata.at.business.tcc;


import com.vip.seata.at.business.util.ApplicationHelper;
import org.redisson.api.RedissonClient;

public class RedissonUtils {

    public static void update(String key,String value) throws Exception {
        RedissonClient redisson = ApplicationHelper.getApplicationContext().getBean(RedissonClient.class);
        redisson.getBucket(key).set(value);
    }
}